<?php

use console\db\channels\DataPhpMigration as Migration;

/**
 * 创建地图基础信息数据
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class m200104_091354_d_map extends Migration {

    /**
     * @inheritdoc
     */
    public function getTableOptions() {
        return [
            'map' => [
                'id',
                'title',
                'path',
                'model',
                'type',
                'params',
                'custom',
                'from',
                'created_at',
                'updated_at',
            ],
            'map_fence' => [
                'name',
                'title',
                'description',
                'thumb',
                'color',
                'map_id',
                'map_data',
                'scope',
                'created_at',
                'updated_at',
            ],
        ];
    }

}
